<!--
 * @FileDescription 综合评价
 * @Author lz
 * @Date 20230724 14:16:47
 * @LastEditors lz
 * @LastEditTime 20230724 14:16:47
-->
<template>
  <div class="ComEva">
    <!-- <div class="ret_btn" @click="returnBtn">
            <img src="/images/Group_black.png" class="ret_ico">
            <span class="ret_txt">返回</span>
        </div> -->
    <div class="col_l">
      <div class="name_box">{{ HomeContent.Default.UserName.value || "" }}</div>
      <div class="congratulations">恭喜你，完成本次考核！</div>
      <div class="score">得分</div>
      <div class="fraction">{{ HomeContent.Default.AED.value.Score }}</div>
      <div class="line"></div>
      <div class="bottomBox">
        <!-- <div class="parameterBox">
                    <div class="par_tit">
                        历史平均分
                    </div>
                    <div class="par_cont">
                        87
                    </div>
                </div> -->
        <div class="parameterBox">
          <div class="par_tit">故障修复率</div>
          <div class="par_cont">
            {{ HomeContent.Default.AED.value.Record.FailureRepairRate }}
          </div>
        </div>
        <div class="parameterBox">
          <div class="par_tit">用时</div>
          <div class="par_cont">
            {{ formatSeconds(HomeContent.Default.AED.value.UsedTime) }}
          </div>
        </div>
        <!-- <div class="parameterBox">
                    <div class="par_tit">
                        较上次
                    </div>
                    <div class="par_cont">
                        +100%
                    </div>
                </div> -->
      </div>
    </div>
    <div class="col_r">
      <a-tabs v-model:activeKey="activeKey" class="tabBox">
        <a-tab-pane class="tab_1" key="1" tab="综合结果分析">
          <div class="t1_l">
            <div class="moduleName">
              <div class="MN_I">
                <img src="/images/ic_结果分析.png" />
              </div>
              <div class="NameText">结果分析</div>
            </div>
            <div id="main"></div>
          </div>
          <div class="t1_r">
            <div class="moduleName">
              <div class="MN_I">
                <img src="/images/ic_详细得分点.png" />
              </div>
              <div class="NameText">详细得分点</div>
            </div>
            <div
              class="t1_r_list"
              v-for="(item, index) in HomeContent.Default.Synthetical.value.Veidoos"
              :key="index"
            >
              <div class="scorePointName">
                {{ item.Name }}
              </div>
              <div class="SPF">
                {{ item.Result }}
              </div>
            </div>
          </div>
          <div class="t1_b">
            <div class="moduleName">
              <div class="MN_I">
                <img src="/images/ic_提升建议.png" />
              </div>
              <div class="NameText">提升建议</div>
            </div>
            <div class="t1_b_cont">
              <div
                class="t1_b_list"
                v-for="(item, index) in HomeContent.Default.Synthetical.value.Suggest"
                :key="index"
              >
                {{ index + 1 }}.{{ item }}
              </div>
            </div>
          </div>
        </a-tab-pane>
        <a-tab-pane key="2" tab="报告单">
          <div class="Popup">
            <div class="package_box">
              <div class="contentBox">
                <div class="title_box">
                  {{ HomeContent.Default.AED.value.Orders.Name || "报告单" }}
                  <img
                    src="/images/ic_up_small.png"
                    class="retract_img"
                    @click="retract"
                    v-if="state.retract"
                  />
                  <img
                    src="/images/ic_down_small.png"
                    class="retract_img"
                    @click="retract"
                    v-else
                  />
                </div>
                <div class="BasicInformation" v-show="state.retract">
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">选手参赛号</span>
                    <div class="unit_inp">
                      {{ HomeContent.Default.AED.value.Orders.OrderBase.Id || "" }}
                    </div>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判长审判</span>
                  </div>
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">统分裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">监督仲裁签字</span>
                  </div>
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">车辆信息登记</span>
                    <div class="unit_inp">
                      {{ HomeContent.Default.AED.value.Orders.OrderBase.CarId || "" }}
                    </div>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">比赛时长</span>
                    <div class="unit_inp">
                      {{
                        formatSeconds(HomeContent.Default.AED.value.Orders.OrderBase.Time)
                      }}
                    </div>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">实际用时</span>
                    <div class="unit_inp">
                      {{
                        formatSeconds(
                          HomeContent.Default.AED.value.Orders.OrderBase.UseTime
                        )
                      }}
                    </div>
                  </div>
                </div>
                <div class="Form_box">
                  <div class="tit_box">
                    <div class="form_tit BOR rep_T1 BN">项目</div>
                    <div class="form_tit BOR rep_T2">内容</div>
                    <!-- <div class="form_tit BOR rep_T3">配分</div>
                    <div class="form_tit BOR rep_T4">得分</div> -->
                  </div>
                  <div class="form_content">
                    <div class="form_content_unit">
                      <div class="form_content_unit_tit rep_T1 BOR BN">
                        <span class="content_unit_tit"> 故障现象描述 </span>
                      </div>
                      <div class="unit_list_box rep_T2">
                        <div
                          class="form_content_unit_list BOR"
                          :key="index"
                          v-for="(item, index) in HomeContent.Default.PlayerReportData
                            .value[state.DPN - 1].Appearences.Contents"
                        >
                          <a-tooltip>
                            <template #title>{{ item.Description }}</template>
                            <div class="addTxt Existing">{{ item.Description }}</div>
                          </a-tooltip>
                        </div>
                        <div
                          class="form_content_unit_list BOR"
                          v-if="
                            JSON.stringify(
                              HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                                .Appearences.Contents
                            ) === '{}'
                          "
                        ></div>
                      </div>
                      <!-- <div class="rep_partition rep_T3 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Appearences.Distribution
                        }}</span>
                      </div>
                      <div class="rep_score rep_T4 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Appearences.Score
                        }}</span>
                      </div> -->
                    </div>
                    <div class="form_content_unit">
                      <div class="form_content_unit_tit rep_T1 BOR BN">
                        <span class="content_unit_tit"> 通过分析得出故障可能原因 </span>
                      </div>
                      <div class="unit_list_box rep_T2">
                        <div
                          class="form_content_unit_list BOR"
                          :key="index"
                          v-for="(item, index) in HomeContent.Default.PlayerReportData
                            .value[state.DPN - 1].Reasons.Contents"
                        >
                          <a-tooltip>
                            <template #title>{{ item.Description }}</template>
                            <div class="addTxt Existing">{{ item.Description }}</div>
                          </a-tooltip>
                        </div>
                        <div
                          class="form_content_unit_list BOR"
                          v-if="
                            JSON.stringify(
                              HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                                .Reasons.Contents
                            ) === '{}'
                          "
                        ></div>
                      </div>
                      <!-- <div class="rep_partition rep_T3 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Reasons.Distribution
                        }}</span>
                      </div>
                      <div class="rep_score rep_T4 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Reasons.Score
                        }}</span>
                      </div> -->
                    </div>
                    <div class="form_content_unit">
                      <div class="form_content_unit_tit rep_T1 BOR BN">
                        <span class="content_unit_tit"> 故障检修过程 </span>
                      </div>
                      <div class="unit_list_box rep_T2">
                        <div
                          class="form_content_unit_list BOR"
                          :key="index"
                          v-for="(item, index) in HomeContent.Default.PlayerReportData
                            .value[state.DPN - 1].Detectors.Contents"
                        >
                          <a-tooltip>
                            <template #title>{{ item.Description }}</template>
                            <div class="addTxt Existing">{{ item.Description }}</div>
                          </a-tooltip>
                        </div>
                        <div
                          class="form_content_unit_list BOR"
                          v-if="
                            JSON.stringify(
                              HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                                .Detectors.Contents
                            ) === '{}'
                          "
                        ></div>
                      </div>
                      <!-- <div class="rep_partition rep_T3 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Detectors.Distribution
                        }}</span>
                      </div>
                      <div class="rep_score rep_T4 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Detectors.Score
                        }}</span>
                      </div> -->
                    </div>
                    <div class="form_content_unit">
                      <div class="form_content_unit_tit rep_T1 BOR BN">
                        <span class="content_unit_tit"> 故障点和故障类型确认 </span>
                      </div>
                      <div class="unit_list_box rep_T2">
                        <div
                          class="form_content_unit_list BOR"
                          :key="index"
                          v-for="(item, index) in HomeContent.Default.PlayerReportData
                            .value[state.DPN - 1].Faults.Contents"
                        >
                          <a-tooltip>
                            <template #title>{{ item.Description }}</template>
                            <div class="addTxt Existing">{{ item.Description }}</div>
                          </a-tooltip>
                        </div>
                        <div
                          class="form_content_unit_list BOR"
                          v-if="
                            JSON.stringify(
                              HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                                .Faults.Contents
                            ) === '{}'
                          "
                        ></div>
                      </div>
                      <!-- <div class="rep_partition rep_T3 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1].Faults
                            .Distribution
                        }}</span>
                      </div>
                      <div class="rep_score rep_T4 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1].Faults
                            .Score
                        }}</span>
                      </div> -->
                    </div>
                    <div class="form_content_unit">
                      <div class="form_content_unit_tit rep_T1 BOR BN">
                        <span class="content_unit_tit"> 故障机理分析 </span>
                      </div>
                      <div class="unit_list_box rep_T2">
                        <div
                          class="form_content_unit_list BOR"
                          :key="index"
                          v-for="(item, index) in HomeContent.Default.PlayerReportData
                            .value[state.DPN - 1].Theorys.Contents"
                        >
                          <a-tooltip>
                            <template #title>{{ item.Description }}</template>
                            <div class="addTxt Existing">{{ item.Description }}</div>
                          </a-tooltip>
                        </div>
                        <div
                          class="form_content_unit_list BOR"
                          v-if="
                            JSON.stringify(
                              HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                                .Theorys.Contents
                            ) === '{}'
                          "
                        ></div>
                      </div>
                      <!-- <div class="rep_partition rep_T3 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Theorys.Distribution
                        }}</span>
                      </div>
                      <div class="rep_score rep_T4 BOR">
                        <span class="rep_parameter">{{
                          HomeContent.Default.PlayerReportData.value[state.DPN - 1]
                            .Theorys.Score
                        }}</span>
                      </div> -->
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <a-pagination
              v-model:current="state.DPN"
              :total="HomeContent.Default.AED.value.Orders.Orders.length * 10"
              show-less-items
            />
          </div>
        </a-tab-pane>
        <a-tab-pane key="3" tab="评分表">
          <div class="Popup">
            <div class="package_box">
              <div class="contentBox">
                <div class="title_box">
                  {{ HomeContent.Default.AED.value.Record.RatingForm.Name || "评分表" }}
                  <img
                    src="/images/ic_up_small.png"
                    class="retract_img"
                    @click="retract"
                    v-if="state.retract"
                  />
                  <img
                    src="/images/ic_down_small.png"
                    class="retract_img"
                    @click="retract"
                    v-else
                  />
                </div>
                <div class="BasicInformation" v-show="state.retract">
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">选手参赛号</span>
                    <div class="unit_inp">
                      {{ HomeContent.Default.AED.value.Orders.OrderBase.Id || "" }}
                    </div>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判长审判</span>
                  </div>
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">统分裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">裁判签字</span>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">监督仲裁签字</span>
                  </div>
                  <div class="Basi_unit BOR BN">
                    <span class="unit_tit">车辆信息登记</span>
                    <!-- <a-tooltip>
                      <template #title>{{
                        HomeContent.Default.AED.value.Orders.OrderBase.CarId || ""
                      }}</template>
                      <div class="unit_inp">
                        {{ HomeContent.Default.AED.value.Orders.OrderBase.CarId || "" }}
                      </div>
                    </a-tooltip> -->
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">比赛时长</span>
                    <div class="unit_inp">
                      {{
                        formatSeconds(HomeContent.Default.AED.value.Orders.OrderBase.Time)
                      }}
                    </div>
                  </div>
                  <div class="Basi_unit BOR">
                    <span class="unit_tit">实际用时</span>
                    <div class="unit_inp">
                      {{
                        formatSeconds(
                          HomeContent.Default.AED.value.Orders.OrderBase.UseTime
                        )
                      }}
                    </div>
                  </div>
                </div>
                <div class="Form_box">
                  <div class="tit_box">
                    <div class="form_tit BOR T1 BN">序号</div>
                    <div class="form_tit BOR T2">项目</div>
                    <div class="form_tit BOR T3">评分点</div>
                    <div class="form_tit BOR T4">说明</div>
                    <div class="form_tit BOR T5">配分</div>
                    <div class="form_tit BOR T6">得分</div>
                  </div>
                  <div class="form_content">
                    <div
                      class="big_box"
                      v-for="(item, index) in HomeContent.Default.WorksheetData.value"
                      :key="index"
                    >
                      <div class="small_box1 BOR BN">
                        <span class="parameter">
                          {{ item.Serial }}
                        </span>
                      </div>
                      <div class="small_box1_2 BOR">
                        <span class="parameter">
                          {{ item.Project }}
                        </span>
                      </div>
                      <div class="small_box2">
                        <div
                          class="small_box3"
                          v-for="(items, indexs) in item.Points"
                          :key="indexs"
                        >
                          <div class="RatingPoints BOR">
                            <span class="parameter">
                              {{ items.Name }}
                            </span>
                          </div>
                          <div class="small_box4 BOR">
                            <div
                              class="small_box5"
                              v-for="(itemes, indexes) in items.Items"
                              :key="indexes"
                            >
                              {{ itemes.Name }}
                            </div>
                          </div>
                          <div class="partition BOR">
                            <span class="parameter verticalCenter">
                              <!-- {{ items.Score }} -->
                              {{ items.Share }}
                            </span>
                          </div>
                          <div class="Evascore BOR">
                            <span class="parameter verticalCenter">
                              <!-- {{ items.Share }} -->
                              {{ items.Score }}
                            </span>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </a-tab-pane>
        <a-tab-pane key="4" tab="故障修复记录">
          <div class="t4_l">
            <div class="moduleName">
              <div class="MN_I">
                <img src="/images/ic_结果分析.png" />
              </div>
              <div class="NameText">故障点统计</div>
            </div>
            <div class="FPSBox">
              <!-- <div class="circle">
                                {{ HomeContent.Default.FaultRepair.value.Total }}
                            </div> -->
              <div class="fpsTxtTotal">
                设置 {{ HomeContent.Default.FaultRepair.value.Total }} 个故障点
              </div>
            </div>
            <div class="FPSBox">
              <!-- <div class="circle">
                                {{ HomeContent.Default.FaultRepair.value.Fixed }}
                            </div> -->
              <img src="/images/checkbox_answer.png" class="smp" />
              <div class="fpsTxt">
                修复成功 {{ HomeContent.Default.FaultRepair.value.Fixed }} 个故障点
              </div>
            </div>
            <div class="FPSBox">
              <!-- <div class="circle">
                                {{ HomeContent.Default.FaultRepair.value.Wontfix }}
                            </div> -->
              <img src="/images/checkbox_incomplete.png" class="smp" />
              <div class="fpsTxt">
                未修复 {{ HomeContent.Default.FaultRepair.value.Wontfix }} 个故障点
              </div>
            </div>
            <div class="FPSBox">
              <!-- <div class="circle">
                                {{ HomeContent.Default.FaultRepair.value.Error }}
                            </div> -->
              <img src="/images/checkbox_wrong.png" class="smp" />
              <div class="fpsTxt">
                修复错误 {{ HomeContent.Default.FaultRepair.value.Error }} 个故障点
              </div>
            </div>
          </div>
          <div class="t4_r">
            <div class="moduleName">
              <div class="MN_I">
                <img src="/images/ic_故障点记录.png" />
              </div>
              <div class="NameText">故障记录</div>
            </div>
            <div class="t4_content">
              <div
                class="t4_list"
                :class="item.State == 0 ? 't4_l_1' : item.State == 2 ? 't4_l_2' : ''"
                v-for="(item, index) in HomeContent.Default.FaultRepair.value.Items"
                :key="index"
              >
                <div class="t4_listText" style="width: 80%">
                  {{ item.Name }}
                </div>
                <div class="t4_list_ico" v-if="item.State == 0">
                  <img src="/images/checkbox_incomplete.png" />
                </div>
                <div class="t4_list_type" style="color: #b0b0b0" v-if="item.State == 0">
                  未修复
                </div>
                <div class="t4_list_ico" v-if="item.State == 1">
                  <img src="/images/checkbox_answer.png" />
                </div>
                <div class="t4_list_type" style="color: #42cb6e" v-if="item.State == 1">
                  修复正确
                </div>
                <div class="t4_list_ico" v-if="item.State == 2">
                  <img src="/images/checkbox_wrong.png" />
                </div>
                <div class="t4_list_type" style="color: #fb4e4e" v-if="item.State == 2">
                  修复错误
                </div>
              </div>
            </div>
          </div>
        </a-tab-pane>
      </a-tabs>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive, onMounted } from "vue";
import * as echarts from "echarts";
import HomeContent from "../HomeContent";
const state = reactive({
  retract: true,
  current: 1,
  visible: false,
  ListTypes: 0,
  values: <any>[],
  DPN: 1,
});
let option: any;
option = {
  tooltip: {
    trigger: "axis",
  },
  legend: {
    left: "center",
    data: [],
  },
  radar: [
    {
      indicator: [
        { text: HomeContent.Default.Synthetical.value.Veidoos[0].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[1].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[2].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[3].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[4].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[5].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[6].Name, max: 100 },
      ],
      radius: 90,
    },
  ],
  series: [
    {
      type: "radar",
      tooltip: {
        trigger: "item",
      },
      itemStyle: {
        color: "#d6ebba",
        borderColor: "#d6ebba",
      },
      areaStyle: {},
      data: [
        {
          value: [
            HomeContent.Default.Synthetical.value.Veidoos[0].Result,
            HomeContent.Default.Synthetical.value.Veidoos[1].Result,
            HomeContent.Default.Synthetical.value.Veidoos[2].Result,
            HomeContent.Default.Synthetical.value.Veidoos[3].Result,
            HomeContent.Default.Synthetical.value.Veidoos[4].Result,
            HomeContent.Default.Synthetical.value.Veidoos[5].Result,
            HomeContent.Default.Synthetical.value.Veidoos[6].Result,
          ],
          name: "结果分析",
        },
      ],
    },
  ],
};
const activeKey = ref("1");
async function returnBtn() {
  console.log("返回");
}
//秒数转化为时分秒
function formatSeconds(value: any) {
  if (value == null) {
    return "";
  }
  //@ts-ignore
  let secondTime = parseInt(value); // 秒
  let minuteTime = 0; // 分
  let hourTime = 0; // 小时
  if (secondTime > 60) {
    //如果秒数大于60，将秒数转换成整数
    //获取分钟，除以60取整数，得到整数分钟
    //@ts-ignore
    minuteTime = parseInt(secondTime / 60);
    //获取秒数，秒数取余，得到整数秒数
    //@ts-ignore
    secondTime = parseInt(secondTime % 60);
    //如果分钟大于60，将分钟转换成小时
    if (minuteTime > 60) {
      //获取小时，获取分钟除以60，得到整数小时
      //@ts-ignore
      hourTime = parseInt(minuteTime / 60);
      //获取小时后取余的分，获取分钟除以60取余的分
      //@ts-ignore
      minuteTime = parseInt(minuteTime % 60);
    }
  }
  //@ts-ignore
  var result = "" + parseInt(secondTime) + "秒";

  if (minuteTime > 0) {
    //@ts-ignore
    result = "" + parseInt(minuteTime) + "分" + result;
  }
  if (hourTime > 0) {
    //@ts-ignore
    result = "" + parseInt(hourTime) + "小时" + result;
  }
  console.log("result11111", result);
  HomeContent.Default.AllTime.value = result;
  return result;
}
//收起
function retract() {
  state.retract = !state.retract;
}

onMounted(() => {
  let chartDom = document.getElementById("main");
  let myChart = echarts.init(chartDom);
  myChart.setOption(option, true);
  console.log(
    "HomeContent.Default.WorksheetData.value333333: ",
    HomeContent.Default.WorksheetData.value
  );
});
</script>

<style scoped>
.ComEva {
  width: 100%;
  height: 95vh;
  position: absolute;
  left: 0;
  top: 5vh;
  background: #f6f6f6;
}

.col_r {
  width: 1520px;
  height: 946px;
  background: #ffffff;
  box-shadow: 0px 20px 80px 0px rgba(179, 189, 185, 0.2);
  position: absolute;
  right: 0;
  bottom: 40px;
  border-radius: 40px 0 0 40px;
}

.col_l {
  position: absolute;
  left: 40px;
  bottom: 184px;
  width: 320px;
  height: 700px;
  background: #ffffff;
  border-radius: 40px 40px 40px 40px;
  text-align: center;
}

.ret_btn {
  width: 128px;
  height: 52px;
  border-radius: 6px 6px 6px 6px;
  opacity: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 40px;
  bottom: 60px;
}

.retract_img {
  float: right;
  width: 24px;
  margin-top: 16px;
  margin-right: 16px;
}

.ret_txt {
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  line-height: 48px;
}

.ret_ico {
  width: 28px;
  margin-top: -9px;
  margin-right: 12px;
  margin-left: 24px;
}

:deep().ant-tabs-tab:nth-child(1) {
  margin-left: 40px !important;
}

.tabBox {
  margin-top: 48px;
}

:deep().ant-tabs-tab-btn {
  font-size: 20px;
  font-weight: 600;
  color: #b0b0b0;
}

:deep().ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #000000;
}

:deep().ant-tabs-ink-bar {
  background-color: #000000;
}

.t1_l {
  width: 700px;
  height: 500px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  float: left;
  margin-left: 40px;
  margin-top: 30px;
}

.t1_r {
  width: 700px;
  height: 500px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-left: 40px;
  margin-top: 30px;
  float: left;
}

.t1_b {
  width: 1440px;
  height: 218px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  float: left;
  margin-left: 40px;
  margin-top: 40px;
}

.t1_b_cont {
  margin: 0 auto;
  width: 96%;
  height: 150px;
  overflow-y: auto;
}

.t1_b_list {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin: 10px;
}

.name_box {
  font-size: 24px;
  font-weight: bold;
  color: #202020;
  padding-top: 40px;
}

.congratulations {
  font-size: 14px;
  font-weight: 400;
  color: #5e5e5e;
  margin-top: 8px;
}

.score {
  font-size: 16px;
  font-weight: 400;
  color: #b0b0b0;
  margin-top: 48px;
}

.fraction {
  margin-top: 16px;
  font-size: 78px;
  font-weight: 600;
  color: #000000;
}

.line {
  width: 280px;
  height: 1px;
  background-color: #f0f0f0;
  margin: 10px auto;
}

.bottomBox {
  width: 100%;
  overflow: hidden;
  font-size: 16px;
  color: #202020;
}

.parameterBox {
  width: 50%;
  float: left;
}

.par_tit {
  margin-top: 48px;
  font-weight: 400;
  color: #b0b0b0;
}

.par_cont {
  font-weight: bold;
  margin-top: 20px;
}

.moduleName {
  overflow: hidden;
}

.MN_I {
  float: left;
  width: 24px;
  margin-top: 40px;
  margin-left: 40px;
}

.MN_I > img {
  width: 100%;
}

.NameText {
  float: left;
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  margin-top: 38px;
  margin-left: 10px;
}

.t4_l {
  width: 500px;
  height: 764px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-top: 30px;
  margin-left: 40px;
  float: left;
}

.addTxt {
  float: left;
  font-size: 16px;
  font-weight: 400;
  color: #b0b0b0;
  padding-left: 20px;
}

.t4_r {
  width: 900px;
  height: 764px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-top: 30px;
  margin-left: 40px;
  float: left;
}

.FPSBox {
  overflow: hidden;
  margin: 24px 0 48px 0;
}

.circle {
  float: left;
  width: 72px;
  height: 72px;
  background: #000000;
  border-radius: 40px 40px 40px 40px;
  font-size: 24px;
  font-weight: bold;
  line-height: 72px;
  color: #9bfb4e;
  text-align: center;
  margin-left: 72px;
}

.fpsTxt {
  float: left;
  /* height: 72px;
    line-height: 72px; */
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  /* margin-left: 16px; */
  padding-left: 4px;
}

.t4_content {
  width: 840px;
  height: 636px;
  margin: 0 auto;
  margin-top: 20px;
  overflow-y: auto;
}

.Existing {
  color: rgba(26, 26, 26, 1);
  width: 655px;
  /* width: 900px; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t4_list {
  width: 820px;
  height: 72px;
  background: linear-gradient(
    90deg,
    rgba(155, 251, 78, 0.1) 0%,
    rgba(155, 251, 78, 0.07) 58%,
    rgba(155, 251, 78, 0) 100%
  );
  border-radius: 8px 8px 8px 8px;
  margin-bottom: 16px;

  /*弹性盒模型*/
  display: flex;
  /*主轴居中对齐*/
  /* justify-content: center; */
  /*侧轴居中对齐*/
  align-items: center;
}

::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  background: #dfe1e8;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  border-radius: 10px;
  background: #f8f8f8;
}

.t4_listText {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin-left: 16px;
  margin-right: 16px;
}

.t4_list_ico {
  width: 24px;
  margin-right: 6px;
}

.t4_list_ico > img {
  width: 100%;
}

.t1_r_list {
  overflow: hidden;
  margin-top: 20px;
}

.scorePointName {
  font-size: 16px;
  font-weight: 400;
  color: #5e5e5e;
  float: left;
  margin-left: 40px;
}

.SPF {
  font-size: 16px;
  font-weight: 600;
  color: #202020;
  float: right;
  margin-right: 126px;
}

#main {
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.t4_list_type {
  font-size: 16px;
}

.t4_l_1 {
  background: transparent;
}

.t4_l_2 {
  background: linear-gradient(
    90deg,
    rgba(251, 78, 78, 0.1) 0%,
    rgba(251, 78, 78, 0.07) 58%,
    rgba(251, 78, 78, 0) 100%
  );
}

.Popup {
  width: 1520px;
  height: 800px;
  border-radius: 16px 16px 16px 16px;
}

.titBox {
  height: 54px;
  font-size: 36px;
  font-weight: 600;
  color: #000000;
  line-height: 42px;
  margin-top: 30px;
  margin-left: 40px;
}

.cancel {
  font-size: 28px;
  font-weight: 600;
  float: right;
  margin-top: 4px;
  margin-right: 30px;
}

.contentBox {
  border: 1px solid #e8ecf4;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.form_content_unit {
  width: 100%;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}

.form_content_unit_tit {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.form_content_unit_list {
  /* width: 100%; */
  width: 137%;
  float: left;
  height: 64px;
  line-height: 64px;
}

.rep_T1 {
  width: 26%;
}

.rep_T2 {
  width: 54%;
}

.rep_T3 {
  width: 10%;
}

.rep_T4 {
  width: 10%;
}

.rep_partition {
  position: absolute;
  top: 0;
  right: 10%;
  bottom: 0;
}

.rep_parameter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.rep_score {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.content_unit_tit {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(0, -50%);
}

.title_box {
  height: 62px;
  line-height: 62px;
  font-size: 20px;
  font-weight: 600;
  padding-left: 10px;
  color: #000;
}

.BasicInformation {
  width: 100%;
  height: 168px;
}

.Basi_unit {
  float: left;
  width: 33.333%;
  height: 56px;
}

.BOR {
  border-top: 1px solid #e8ecf4;
  border-left: 1px solid #e8ecf4;
}

.BOL {
  border-left: 1px solid #e8ecf4;
}

.BOB {
  border-bottom: 1px solid #e8ecf4;
}

.BN {
  border-left: none;
}

.unit_tit {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 56px;
  padding-left: 16px;
  font-weight: 600;
}

.unit_inp {
  width: 300px;
  height: 56px;
  outline: none;
  font-size: 16px;
  border: none;
  float: right;
  margin-right: 16px;
  line-height: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package_box {
  overflow-y: auto;
  height: 764px;
  padding-right: 20px;
  margin: 0 40px;
  margin-top: 6px;
  color: #000;
}

.package_box::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

.package_box::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/

  border-radius: 10px;
  background: #dfe1e8;
}

.package_box::-webkit-scrollbar-track {
  /*滚动条里面轨道*/

  border-radius: 10px;
  background: #f8f8f8;
}

.Form_box {
  width: 100%;
}

.tit_box {
  width: 100%;
  height: 42px;
  background-color: #f7f8fb;
}

.form_tit {
  float: left;
  text-align: center;
  line-height: 42px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.form_content {
  font-size: 16px;
}

.T1 {
  width: 6%;
}

.T2 {
  width: 20%;
}

.T3 {
  width: 18%;
}

.T3s {
  width: 71%;
}

.T3ss {
  width: 10%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

.T4 {
  width: 40%;
}

.T5 {
  width: 8%;
}

.T6 {
  width: 8%;
}

.partition {
  width: 10.6%;
  position: absolute;
  top: 0;
  right: 11%;
  bottom: 0;
}

.RatingPoints {
  width: 24.4%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

.parameter {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translate(0%, -50%);
}

.unit_list_box {
  float: left;
  margin-left: 26%;
}

.fcut1 {
  height: 1464px;
}

.fcut2 {
  height: 400px;
}

.verticalCenter {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.big_box {
  width: 100%;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}

.small_box1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 6%;
}

.small_box1_2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 20%;
  margin-left: 6%;
}

.small_box2 {
  float: left;
  margin-left: 26%;
  width: 74%;
}

.small_box3 {
  position: relative;
  width: 100%;
  float: left;
  line-height: 24px;
}

.small_box4 {
  width: 54.2%;
  float: left;
  margin-left: 24.3%;
}

.small_box5 {
  width: 100%;
  float: left;
  line-height: 24px;
  padding: 12px;
}

.Evascore {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10.9%;
}

:deep().ant-pagination {
  margin-top: 10px;
  margin-left: 40px;
}

.fpsTxtTotal {
  width: 420px;
  height: 42px;
  background: linear-gradient(
    90deg,
    rgba(155, 251, 78, 0.1) 0%,
    rgba(155, 251, 78, 0.07) 58%,
    rgba(155, 251, 78, 0) 100%
  );
  border-radius: 8px 0px 0px 8px;
  font-size: 16px;
  font-weight: 600;
  margin-left: 40px;
  line-height: 42px;
  padding-left: 20px;
  margin-top: 20px;
}

.smp {
  width: 24px;
  height: 24px;
  float: left;
  margin-left: 60px;
}
</style>
